package com.jackstraw.jack_base.mq.rocketmq.controllrt;

import com.jackstraw.jack_base.mq.rocketmq.producer.ProducerServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @Autowired
    private ProducerServer producerServer;



    @RequestMapping("/demo")
    public void demo() {
        producerServer.all();
    }

}
